{% load static %}
<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>大众点评西南地区美食数据分析系统</title>
    <link rel="stylesheet" href="{% static 'css/bootstrap.css' %}">
    <link rel="stylesheet" href="{% static 'css/base.css' %}">
    <link rel="stylesheet" href="{% static 'css/style.css' %}">
    {#    <link rel="stylesheet" href="{% static 'css/index.css' %}">#}
    <style>
        .t_btn {
            margin-top: 20px;
        }

        .t_btn li {
            display: inline-block;
            margin: 0 0px 20px 20px;
        }

        .t_btn button,
        .t_a {
            display: inline-block;
            padding: 10px 5px;
            width: 80px;
            border-style: solid;
            border-width: 0;
            cursor: pointer;
            font-family: inherit;
            font-weight: bold;
            line-height: normal;
            margin: 0 0 0.5em 0;
            position: relative;
            text-decoration: none;
            text-align: center;
            display: inline-block;
            font-size: 1em;
            background-color: #2C58A6;
            border-color: #0263ff;
            color: white;
            box-shadow: 0 -2px 0 rgba(0, 0, 0, 0.2) inset !important;
            margin-right: 0.5em;
            border-radius: 4px;
        }

        .t_height {
            line-height: 80px;
            position: absolute;
            right: 28px;
            top: 0;
        }

        .main_table tr {
            height: 42px;

        }

        div#chart_1, div#chart_3 {
            overflow-y: scroll;
            {#height: 1300px !important;#}
        }

        .main_table {
            width: 100%;
            margin-top: 25px;
        }

        .main_table table {
            width: 100%;
        }

        .main_table thead tr {
            height: 42px;
        }

        .main_table th {
            font-size: 12px;
            font-weight: 600;
            color: #61d2f7;
            text-align: center;
        }

        .main_table th:nth-child(1) {

        }

        .main_table th:nth-child(2) {

        }

        .main_table td {
            color: #fff;
            font-size: 10px;
            text-align: center;
        }

        .main_table tbody tr:nth-child(odd) {
            background-color: #072951;
            box-shadow: -10px 0px 15px #2C58A6 inset, /*左边阴影*/ 10px 0px 15px #2C58A6 inset; /*右边阴影*/
        }

        .t_btn8, .t_btn2, .t_btn3 {
            position: relative;
            z-index: 100;
            cursor: pointer;
        }

    </style>
</head>

<body>
<!--header-->
<div class="header">
    <div class="bg_header">
        <div class="header_nav fl t_title">
            大众点评西南地区美食数据分析系统
        </div>
    </div>
    <div class="header_nav fl">
    </div>
    <div class="header_myself fr t_height">
        <a class="t_a" href="/index">返回 &nbsp;</a>
    </div>
</div>
<!--main-->
<div class="data_content">
    <div class="data_main">
        <div class="main_left fl">
            <div class="left_1">
                <ul class="t_btn">
                    {% for page in  page_data.keys %}
                        <li>
                            <button class="t_btn5">
                                <a href="/page?p={{ forloop.counter }}" style="color: white">{{ page }}</a>
                            </button>
                        </li>
                    {% endfor %}

{#                    #}
{#                    <li>#}
{#                        <button class="t_btn5">#}
{#                            <a href="/page?p=2" style="color: white">{{ page_data.keys.1 }}</a>#}
{#                        </button>#}
{#                    </li>#}
{#                    <li>#}
{#                        <button class="t_btn5">#}
{#                            <a href="/page?p=3" style="color: white">{{ page_data.keys.2 }}</a>#}
{#                        </button>#}
{#                    </li>#}
{#                    <li>#}
{#                        <button class="t_btn5">#}
{#                            <a href="/page?p=4" style="color: white">{{ page_data.keys.3 }}</a>#}
{#                        </button>#}
{#                    </li>#}
{#                    <li>#}
{#                        <button class="t_btn5">#}
{#                            <a href="/page?p=5" style="color: white">货物重量比</a>#}
{#                        </button>#}
{#                    </li>#}
{#                    <li>#}
{#                        <button class="t_btn5">#}
{#                            <a href="/page?p=6" style="color: white">货物总件数</a>#}
{#                        </button>#}
{#                    </li>#}
{#                    <li>#}
{#                        <button class="t_btn5">#}
{#                            <a href="/page?p=7" style="color: white">货物总重量</a>#}
{#                        </button>#}
{#                    </li>#}
{#                    <li>#}
{#                        <button class="t_btn5">#}
{#                            <a href="/page?p=8" style="color: white">代理总货运信息</a>#}
{#                        </button>#}
{#                    </li>#}
                </ul>
            </div>
            <div class="left_2" style="display:none">
                <div class="main_title">
                    西南地区地图
                </div>
            </div>
        </div>
        <div class="main_center fl">
            <div class="center_text t_cos0">
                <!--左上边框-->
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <!--右上边框-->
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <!--左下边框-->
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                <!--右下边框-->
                <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
                <div class="main_title">
                    {{ title }}
                </div>
                <div id="chart_map" style="width:100%;height:778px; padding-top:25px">
                    {% if is_chart %}
                        {{ data  | safe }}
                    {% else %}
                        {% if title == '店铺浏览人数' %}
                            <div id="chart_1" class="main_table t_btn8 " style="width:100%;height: 770px;">
                                <table>
                                    <thead>
                                    <tr>
                                        <th>排名</th>
                                        <th>店铺名称</th>
                                        <th>浏览人数</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    {% for col in data %}
                                    <tr>
                                           <td>{{ forloop.counter }}</td>
                                           <td>{{ col.scenery_name }}</td>
                                           <td>{{ col.people_percent }}%</td>
                                    </tr>
                                    {% endfor %}
                                    </tbody>
                                </table>
                            </div>
                        {% else %}
                            <div id="chart_3" class="main_table t_btn8 " style="width:100%;height: 770px;">
                                <table>
                                    <thead>
                                    <tr>
                                        <th>评分排名</th>
                                        <th>店铺名称</th>
                                        <th>评分</th>
            {#                            <th>地点</th>#}
                                    </tr>
                                    </thead>
                                    <tbody>
                                    {% for col in data %}
                                        <tr>
                                            <td>{{ forloop.counter }}</td>
                                            <td>{{ col.scenery_name }}</td>
                                            <td>{{ col.score }}</td>
                                        </tr>
                                    {% endfor %}
                                    </tbody>
                                </table>
                            </div>
                        {% endif %}
                    {% endif %}

                </div>
            </div>
            <div class="center_text t_cos1" style="display:none">
                <!--左上边框-->
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <!--右上边框-->
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <!--左下边框-->
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                <!--右下边框-->
                <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
                <div class="main_title">
                    西南地区高速公路
                </div>
                <div id="chart_2" class="chart" style="width:100%;height:778px;"></div>
            </div>
            <div class="center_text t_cos2" style="display:none">
                <!--左上边框-->
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <!--右上边框-->
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <!--左下边框-->
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                <!--右下边框-->
                <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
                <div class="main_title">
                    西南地区飞机场
                </div>
                <div id="chart_0" class="chart" style="width:100%;height:778px;"></div>
            </div>
            <div class="center_text t_cos3" style="display:none">
                <!--左上边框-->
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <!--右上边框-->
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <!--左下边框-->
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                <!--右下边框-->
                <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
                <div class="main_title">
                    中国铁路
                </div>
                <div id="chart_4" class="chart" style="width:100%;height:778px;"></div>
            </div>
            <div class="center_text t_cos4" style="display:none">
                <!--左上边框-->
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <!--右上边框-->
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <!--左下边框-->
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                <!--右下边框-->
                <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
                <div class="main_title">
                    湖南货运量收入
                </div>
                <div id="chart_1" class="chart" style="width:100%;height:778px;"></div>
            </div>
            <div class="center_text t_cos5" style="display:none">
                <!--左上边框-->
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <!--右上边框-->
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <!--左下边框-->
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                <!--右下边框-->
                <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
                <div class="main_title">
                    交通就业人员
                </div>
                <div id="chart_3" class="chart" style="width:100%;height:778px;"></div>
            </div>
            <div class="center_text t_cos6" style="display:none">
                <!--左上边框-->
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <!--右上边框-->
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <!--左下边框-->
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                <!--右下边框-->
                <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
                <div class="main_title">
                    西南地区铁路
                </div>
                <div id="chart_6" class="chart" style="width:100%;height:778px;"></div>
            </div>
            <div class="center_text t_cos7" style="display:none">
                <!--左上边框-->
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <!--右上边框-->
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <!--左下边框-->
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                <!--右下边框-->
                <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
                <div class="main_title">
                    湖南总货运量
                </div>
                <div id="chart_7" class="chart" style="width:100%;height:778px;"></div>
            </div>
            <div class="center_text t_cos8 table_div" style="display:none">
                <!--左上边框-->
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <!--右上边框-->
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <!--左下边框-->
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                <!--右下边框-->
                <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
                <div class="main_title">
                    湖南货物周转量
                </div>
                <div id="chart_8" class="chart" style="width:100%;height:778px;"></div>
            </div>
            <div class="center_text t_cos9" style="display:none">
                <!--左上边框-->
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <!--右上边框-->
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <!--左下边框-->
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                <!--右下边框-->
                <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
                <div class="main_title">
                    湖南运输线长度
                </div>
                <div id="chart_9" class="chart" style="width:100%;height:778px;"></div>
            </div>
            <div class="center_text t_cos10" style="display:none">
                <!--左上边框-->
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <!--右上边框-->
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <!--左下边框-->
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                <!--右下边框-->
                <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
                <div class="main_title">
                    湖南业务量
                </div>
                <div id="chart_10" class="chart" style="width:100%;height:778px;"></div>
            </div>
            <div class="center_text t_cos11" style="display:none">
                <!--左上边框-->
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <!--右上边框-->
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <!--左下边框-->
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                <!--右下边框-->
                <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
                <div class="main_title">
                    湖南公路营运
                </div>
                <div id="chart_11" class="chart" style="width:100%;height:778px;"></div>
            </div>
            <div class="center_text t_cos12" style="display:none">
                <!--左上边框-->
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <!--右上边框-->
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <!--左下边框-->
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                <!--右下边框-->
                <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
                <div class="main_title">
                    湖南城市交通
                </div>
                <div id="chart_12" class="chart" style="width:100%;height:778px;"></div>
            </div>
            <div class="center_text t_cos13" style="display:none">
                <!--左上边框-->
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <!--右上边框-->
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <!--左下边框-->
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                <!--右下边框-->
                <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
                <div class="main_title">
                    西南地区地图
                </div>
                <div id="chart_13" class="chart" style="width:100%;height:778px; cursor: pointer;"></div>
            </div>
            <div class="center_text t_cos14" style="display:none">
                <!--左上边框-->
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <!--右上边框-->
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <!--左下边框-->
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                <!--右下边框-->
                <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
                <div class="main_title">
                    GPS
                </div>
                <div id="chart_14" class="chart" style="width:100%;height:778px; cursor: pointer;">
                </div>
            </div>
        </div>
    </div>
</div>

</body>
{#    <script src="http://api.map.baidu.com/api?v=2.0&ak=dApOtvB5E3x6byHpUGHbRF1fxctCBdjw"></script>#}
<script src="{% static 'js/jquery-2.2.1.min.js' %}"></script>
<script src="{% static 'js/bootstrap.min.js' %}"></script>
<script src="{% static 'js/echarts.min.js' %}"></script>
{#    <script src="{% static 'js/common.js' %}"></script>#}
{#    <script src="{% static 'js/dataTool.js' %}"></script>#}
{#    <script src="{% static 'js/base.js' %}"></script>#}
{#    <script src="{% static 'js/china.js' %}"></script>#}
{#    <script src="{% static 'js/hunan.js' %}"></script>#}
{#    <script src="{% static 'js/bmap.js' %}"></script>#}
{#    <script src="{% static 'js/echarts-all.js' %}"></script>#}
</html>